#//---------------- 输出目录 -------------------------------------
BUILD_DIR    := $(shell pwd)/build


RM  := rm -rf

release:
	@scons -f makefile.py 
	@echo "-------------------------------------";  
	ls -l $(BUILD_DIR)
	@echo '==================================================================='
	@echo '== Finished '
	@echo '==================================================================='
 


clean:
	@scons -f makefile.py -c
	@rm  -rf  __pycache__   *.pyc
	@rm  -rf  .sconsign.dblite 
	@echo "-------------------------------------";  
	ls -l $(BUILD_DIR)
	@echo '==================================================================='
	@echo '== Finished '
	@echo '==================================================================='


all:  clean  release


help:
	@echo "make help  : help"
	@echo "make clean : clean "
	@echo "make       : build update"
	@echo "make all   : clean && build"


.PHONY: release  clean  all  help


